$(function(){
	var swiper = '';
	
//	案例列表模块
	var vm = new Vue({
		el:'#Main',
		data:{
			caseData:testData.case,
			goodData:testData.product,
			showMod:0,
		},
		methods:{
			
		},
		created:function(){
			imgRate();
		},
		mounted:function(){
			swiper = pullSwiper("#Main",true,true);
		},
	});
	
	$("#wealTab a").click(function(){
		var index = $(this).index();
		$(this).addClass('on').siblings().removeClass('on');
		vm.showMod = index;
		swiper.update();
		console.log(vm.showMod);
	});
	
});

//下拉刷新
function refresh(pull){
	pull.innerHTML='刷新完成';
};

//上拉加载
function reload(pull){
	pull.innerHTML='已加载全部数据';
};